package com.yauthor.module.unit
{
	import com.yauthor.module.time.ITimeControllerSocket;

	public interface ISimpleUnitController
	{
		function get utopiaUnitView():IUtopiaUnitView;
		
		/**
		 * Returns time controller socket which can be used to maintain time-based 
		 * activities in internal or external plugins
		 */
		function getTimeControllerSocket():ITimeControllerSocket;		
		
		function get itemsCount():uint
			
		function get currentIndex()	:int
		/**
		 * Navigates to page given in <i>direction</i> parameter. If plugin is avaible plugin is processed
		 * @param direction
		 * @return navigation result
		 */ 	
		function navigate( direction:* ):Boolean 
		
		/**
		 * Omits the plugin and navigates to page given in <i>direction</i> parameter
		 * @param direction
		 * @return navigation result
		 */
		function naviagteToDirection(direction:*):Boolean
		
						
		function itemId2Index( id:String ):int
			
		function resetTest():void	
			
			
	}
}